package com.ems.mapper;

import com.ems.entity.TProductLine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
@Mapper
public interface TProductLineMapper extends BaseMapper<TProductLine> {

    void bindMachine(TProductLine tProductLine);

    void unbindMachine(TProductLine tProductLine);

    void updateProcess(TProductLine tProductLine);

    void bindEmployee(TProductLine tProductLine);

    List<TProductLine> check();

    int permit(Integer id);

    void unbindEmployee(TProductLine tProductLine);

    void updateEmp(Integer operationId);

    List<TProductLine> selectOperation(TProductLine tProductLine);

    void updateMachine(Integer macId);
}
